package com.silver.weibo.server;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.silver.weibo.entity.Blogs;
import com.silver.weibo.entity.dto.BlogListDTO;
import com.silver.weibo.entity.vo.BlogDetailVO;

public interface BlogService extends IService<Blogs> {

    BlogDetailVO selectOneById(Integer id);

    void selectAllByActive(IPage<BlogDetailVO> page, BlogListDTO blogListDTO);
}
